#include"Queue.h"
#include<functional>
void _priority_queue()
{
	priority_queue<int,vector<int>,greater<int>> pq;
	pq.push(3);
	pq.push(4);
	pq.push(5);
	pq.push(7);
	pq.push(1);
	pq.push(2);
	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}
}
int main()
{
	_priority_queue();
	YJ::queue<int,list<int>> q;
	/*queue<int, list<int>> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	q.push(5);
	while (!q.empty())
	{
		cout<<q.front()<<" ";
		q.pop();
	}*/
	return 0;
}